package lt.f2g.domain.comments;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import lt.f2g.domain.BaseEntity;

@Entity
public class Comment extends BaseEntity {

    private String author;
    
    @Temporal(TemporalType.TIMESTAMP)
    private Date dateCreated;
    
    private String text;
    
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public Date getDateCreated() {
        return dateCreated;
    }
    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }
    public String getText() {
        return text;
    }
    public void setText(String text) {
        this.text = text;
    }
    
}
